.class Lcom/xingbook/group/c/j;
.super Lcom/xingbook/park/e/d;


# instance fields
.field a:I

.field b:Lcom/xingbook/group/a/b;

.field c:Lcom/xingbook/b/k;

.field final synthetic d:Lcom/xingbook/group/c/a;

.field private final synthetic e:Lcom/xingbook/park/e/c;

.field private final synthetic f:Ljava/util/ArrayList;

.field private final synthetic g:Ljava/util/ArrayList;


# direct methods
.method constructor <init>(Lcom/xingbook/group/c/a;Lcom/xingbook/park/e/c;Lcom/xingbook/park/e/c;Ljava/util/ArrayList;Ljava/util/ArrayList;)V
    .locals 1

    iput-object p1, p0, Lcom/xingbook/group/c/j;->d:Lcom/xingbook/group/c/a;

    iput-object p3, p0, Lcom/xingbook/group/c/j;->e:Lcom/xingbook/park/e/c;

    iput-object p4, p0, Lcom/xingbook/group/c/j;->f:Ljava/util/ArrayList;

    iput-object p5, p0, Lcom/xingbook/group/c/j;->g:Ljava/util/ArrayList;

    invoke-direct {p0, p2}, Lcom/xingbook/park/e/d;-><init>(Lcom/xingbook/park/e/c;)V

    const/4 v0, 0x0

    iput v0, p0, Lcom/xingbook/group/c/j;->a:I

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    return-void
.end method


# virtual methods
.method public characters([CII)V
    .locals 0

    invoke-super {p0, p1, p2, p3}, Lcom/xingbook/park/e/d;->characters([CII)V

    return-void
.end method

.method public endElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 6

    const/4 v5, 0x0

    const/4 v2, 0x2

    const/4 v4, 0x1

    const/4 v3, 0x0

    const-string v0, "message"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/c/j;->e:Lcom/xingbook/park/e/c;

    iget-object v1, p0, Lcom/xingbook/group/c/j;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/e/c;->a(Ljava/lang/String;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const-string v0, "info"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/group/c/j;->c:Lcom/xingbook/b/k;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/c/j;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    array-length v1, v0

    if-lt v1, v2, :cond_0

    iget-object v1, p0, Lcom/xingbook/group/c/j;->c:Lcom/xingbook/b/k;

    aget-object v2, v0, v3

    invoke-static {v2, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v2

    invoke-virtual {v1, v2}, Lcom/xingbook/b/k;->c(I)V

    iget-object v1, p0, Lcom/xingbook/group/c/j;->c:Lcom/xingbook/b/k;

    aget-object v0, v0, v4

    invoke-virtual {v1, v0}, Lcom/xingbook/b/k;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/group/c/j;->c:Lcom/xingbook/b/k;

    const-string v1, "http://app2.xingbook.com/sto/group/turn/${orid}.jpg"

    const-string v2, "${orid}"

    iget-object v3, p0, Lcom/xingbook/group/c/j;->c:Lcom/xingbook/b/k;

    invoke-virtual {v3}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/b/k;->e(Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    const-string v0, "title"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/group/c/j;->c:Lcom/xingbook/b/k;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/c/j;->c:Lcom/xingbook/b/k;

    iget-object v1, p0, Lcom/xingbook/group/c/j;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/b/k;->b(Ljava/lang/String;)V

    goto :goto_0

    :cond_3
    const-string v0, "n"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    iget-object v1, p0, Lcom/xingbook/group/c/j;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/xingbook/group/a/b;->b:Ljava/lang/String;

    goto :goto_0

    :cond_4
    const-string v0, "b"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    iget-object v1, p0, Lcom/xingbook/group/c/j;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/xingbook/group/a/b;->d:Ljava/lang/String;

    goto/16 :goto_0

    :cond_5
    const-string v0, "g"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/xingbook/group/c/j;->a:I

    if-ne v0, v4, :cond_7

    iget-object v0, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    invoke-static {v0, v3}, Lcom/xingbook/group/helper/a;->a(Lcom/xingbook/group/a/b;Z)V

    :cond_6
    :goto_1
    iput-object v5, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    goto/16 :goto_0

    :cond_7
    iget v0, p0, Lcom/xingbook/group/c/j;->a:I

    if-ne v0, v2, :cond_6

    iget-object v0, p0, Lcom/xingbook/group/c/j;->f:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_8
    const-string v0, "viewNum"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    iget-object v1, p0, Lcom/xingbook/group/c/j;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, v0, Lcom/xingbook/group/a/b;->p:I

    goto/16 :goto_0

    :cond_9
    const-string v0, "turn"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/xingbook/group/c/j;->c:Lcom/xingbook/b/k;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/c/j;->g:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/xingbook/group/c/j;->c:Lcom/xingbook/b/k;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iput-object v5, p0, Lcom/xingbook/group/c/j;->c:Lcom/xingbook/b/k;

    goto/16 :goto_0

    :cond_a
    const-string v0, "m"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_b

    sget-object v0, Lcom/xingbook/c/n;->e:Lcom/xingbook/b/a;

    iget-object v1, p0, Lcom/xingbook/group/c/j;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/xingbook/b/a;->h:Ljava/lang/String;

    goto/16 :goto_0

    :cond_b
    const-string v0, "uid"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_c

    sget-object v0, Lcom/xingbook/c/n;->e:Lcom/xingbook/b/a;

    iget-object v1, p0, Lcom/xingbook/group/c/j;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const-wide/16 v2, 0x0

    invoke-static {v1, v2, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;J)J

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/b/a;->a(J)V

    goto/16 :goto_0

    :cond_c
    const-string v0, "us"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_d

    sget-object v0, Lcom/xingbook/c/n;->e:Lcom/xingbook/b/a;

    iget-object v1, p0, Lcom/xingbook/group/c/j;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, v0, Lcom/xingbook/b/a;->b:I

    goto/16 :goto_0

    :cond_d
    const-string v0, "icon"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_e

    sget-object v0, Lcom/xingbook/c/n;->e:Lcom/xingbook/b/a;

    iget-object v1, p0, Lcom/xingbook/group/c/j;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/xingbook/b/a;->B:Ljava/lang/String;

    goto/16 :goto_0

    :cond_e
    const-string v0, "gl"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    sput-boolean v4, Lcom/xingbook/group/helper/a;->b:Z

    goto/16 :goto_0
.end method

.method public startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/group/c/j;->j:Ljava/lang/StringBuilder;

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/xingbook/group/c/j;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->length()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;

    const-string v0, "res"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/c/j;->i:Lcom/xingbook/park/e/c;

    invoke-virtual {v0, p4}, Lcom/xingbook/park/e/c;->a(Lorg/xml/sax/Attributes;)V

    :cond_0
    :goto_0
    invoke-super {p0, p1, p2, p3, p4}, Lcom/xingbook/park/e/d;->startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V

    return-void

    :cond_1
    const-string v0, "gl"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-static {}, Lcom/xingbook/group/helper/a;->b()V

    const/4 v0, 0x1

    iput v0, p0, Lcom/xingbook/group/c/j;->a:I

    goto :goto_0

    :cond_2
    const-string v0, "rl"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    const/4 v0, 0x2

    iput v0, p0, Lcom/xingbook/group/c/j;->a:I

    goto :goto_0

    :cond_3
    const-string v0, "g"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    new-instance v0, Lcom/xingbook/group/a/b;

    invoke-direct {v0}, Lcom/xingbook/group/a/b;-><init>()V

    iput-object v0, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    iget-object v0, p0, Lcom/xingbook/group/c/j;->b:Lcom/xingbook/group/a/b;

    const-string v1, "id"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/xingbook/group/a/b;->a:Ljava/lang/String;

    goto :goto_0

    :cond_4
    const-string v0, "turn"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    new-instance v0, Lcom/xingbook/b/k;

    const/4 v1, -0x1

    invoke-direct {v0, v1}, Lcom/xingbook/b/k;-><init>(I)V

    iput-object v0, p0, Lcom/xingbook/group/c/j;->c:Lcom/xingbook/b/k;

    goto :goto_0
.end method
